import Admin from '../views/Admin.vue'
import AdminUserEdit from '../views/AdminUserEdit.vue'
import AdminUserList from '../views/AdminUserList.vue'
import CategoryEdit from '../views/CategoryEdit.vue'
import CategoryList from '../views/CategoryList.vue'
export const superAdminRouters=[{
	path: '',
	component: Admin,
	name:'admin',
	meta:{role:'super_admin'},
	children: [
		{path: '/admin_users/create',
		component: AdminUserEdit,},  //页面需要的权限
		{path: '/admin_users/edit/:id',
		component: AdminUserEdit,props: true,},
		{path:'/admin_users/list',
		component: AdminUserList},
		
		{path: '/categories/create',component: CategoryEdit},
		{path: '/categories/edit/:id',component: CategoryEdit,props: true},
		{path: '/categories/list',component: CategoryList},
		
		{path: '/carousel/list',component:()=>import('../views/CarouselPicturesList.vue')},
]}]